package com.zb.kl.domain.task;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Setter
@Getter
@Accessors(chain = true)
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Task {

    private String id;
    private String sessionId;
    private TaskStatus status;
    private List<Message> history;
    private List<Artifact> artifacts;
    private Map<String, Object> metadata;

    //Yan
    private TaskPushNotificationConfig pushNotificationConfig;
    private String pushNotificationUrl;
    boolean subscribed;
    Date subscriptionDateNow;
    boolean cancelled;

}